home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Text / SimpleText Sample / PICTFile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  927 b   |  32 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        PICTFile.h
  3.  
  4.     Contains:    header for pict file support in SimpleText
  5.  
  6. ** Copyright 1993-1996 Apple Computer. All rights reserved.
  7. **
  8. **    You may incorporate this sample code into your applications without
  9. **    restriction, though the sample code has been provided "AS IS" and the
  10. **    responsibility for its operation is 100% yours.  However, what you are
  11. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  12. **    after having made changes. If you're going to re-distribute the source,
  13. **    we require that you make it clear in the source that the code was
  14. **    descended from Apple Sample Code, but that you've made changes.
  15.  
  16. */
  17.  
  18. #include "SimpleText.h"
  19.  
  20. #ifndef REZ
  21.     struct PICTDataRecord
  22.         {
  23.         WindowDataRecord        w;
  24.         
  25.         Rect                    pictureRectangle;
  26.         PicHandle                cacheHandle;
  27.         Rect                    selectionRectangle;
  28.         short                    patternPhase;
  29.         };
  30.     typedef struct PICTDataRecord PICTDataRecord, *PICTDataPtr;    
  31. #endif
  32.